package com.cssl.serice.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cssl.dao.DecruitmentMapper;
import com.cssl.pojo.Decruitment;
import com.cssl.serice.DecruitmentSerice;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class DecruitmentImpl extends ServiceImpl<DecruitmentMapper, Decruitment> implements DecruitmentSerice {
    @Resource
    private  DecruitmentMapper decruitmentMapper;


    @Override
    public IPage<Decruitment> dquery(IPage<Decruitment> page, QueryWrapper<Decruitment> ew) {
        return decruitmentMapper.dquery(page,ew);
    }

    @Override
    public List<Decruitment> dequerys(QueryWrapper<Decruitment> ew) {
        return decruitmentMapper.dequerys(ew);
    }

}
